package com.zhuiyun.project.api.tag.service;

import com.zhuiyun.project.api.tag.entity.Tag;
import com.zhuiyun.project.api.tag.entity.TagRequest;
import com.zhuiyun.project.api.tag.model.TagModel;
import com.zhuiyun.project.common.errorCode.CommonException;
import com.zhuiyun.project.common.response.CommonResult;

import java.util.List;

/**
 * @ClassName TagService
 * @Description TODO
 * @Author XMY
 * @Date 2023/12/13 16:41
 **/
public interface TagService {
    List<Tag> getTagList();
    /**
     * @Author XMY
     * @Description 新增用户个性标签
     * @Date 2023/12/14 9:31
     * @Return
     * @param request
     */
    CommonResult savaTag(TagRequest request)throws CommonException;
    /**
     * @Author XMY
     * @Description 新增用户个性标签
     * @Date 2023/12/14 9:35
     * @Return
     * @param tagModel
     */
    CommonResult insertTag(TagModel tagModel)throws CommonException;
}
